package com.aliyun.heiyu.powermaster.server.dao.enums;


public enum WarningTypeEnum {

    AIR_CONDITIONING_SETTING_TEMPERATURE_UPPER_LIMIT_ALARM("AIR_CONDITIONING_SETTING_TEMPERATURE_UPPER_LIMIT_ALARM","空调设置温度上限告警"),
    AIR_CONDITIONER_SETTING_TEMPERATURE_LOWER_LIMIT_ALARM("AIR_CONDITIONER_SETTING_TEMPERATURE_LOWER_LIMIT_ALARM","空调设置温度下限告警"),
    SERVER_PREDICTED_POWER_CONSUMPTION_UPPER_LIMIT_ALARM("SERVER_PREDICTED_POWER_CONSUMPTION_UPPER_LIMIT_ALARM","服务器预测功耗上限告警"),


    HARDWARE_ALARM("HARDWARE_ALARM","硬件告警"),
    SOFTWARE_ALARM("SOFTWARE_ALARM","软件告警"),
    SERVER_CPU_NULL_ALARM("SERVER_CPU_NULL_ALARM","服务器CPU使用率采集空值告警"),
    SERVER_CPU_HIGH_ALARM("SERVER_CPU_HIGH_ALARM","服务器CPU使用率过高告警"),
    SERVER_CPU_LOW_ALARM("SERVER_CPU_LOW_ALARM","服务器CPU使用率过低告警"),
    SERVER_POWER_NULL_ALARM("SERVER_POWER_NULL_ALARM","服务器功耗采集空值告警"),
    SERVER_POWER_HIGH_ALARM("SERVER_POWER_HIGH_ALARM","服务器功耗过高告警"),
    SERVER_POWER_LOW_ALARM("SERVER_POWER_LOW_ALARM","服务器功耗过低告警");


    private String code;
private String desc;


WarningTypeEnum(String code, String desc) {
    this.code=code;
    this.desc=desc;
}
public String getCode(){return code;}

public String getDesc() {
    return desc;
}
}
